<script type="text/javascript" language="javascript">
    (function($) {
        /*whatever jQuery stuff*/
        $(function(){
			//Colorbox
			$('a[rel="gallery"]').colorbox();
        });
    })(jQuery);
</script>	
		<?php if(!empty($dataGallery)):?>
			<ul class="artist_info_list_gallery">
			<?php foreach($dataGallery as $key => $value):?>
				<?php if($key%3 == 0 && $key!=0) echo "</ul><ul class=\"artist_info_list_gallery\">";?>
				<li>
					<a href="<?php echo image_asset_url('../uploads/artist/images/original/'.@$value->artist_file_name.'.'.@$value->artist_file_ext);?>" rel="gallery">
					<div class="image">
						<?php echo exec_image(array(
								'folder' => 'artist',
								'dimension' => '185x123',
								'file_name' => @$value->artist_file_name.'.'.@$value->artist_file_ext,
								'alt' => ''.@$dataArtist->artist_name.'',	
								'title' => ''.@$dataArtist->artist_name.''
							)
						);?>							
					</div>
					</a>
				</li>
			<?php endforeach;?>	
			</ul>
		<?php else:?>
		<li class="empty">ไม่มีแกลเลอรี่ของศิลปินนี้</li>
		<?php endif;?>
		<div class="pager"><?php echo $pager;?></div>